package com.todo.delicacy.iface.backend.request;

import com.todo.common.common.entity.request.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/5 19:59
 * @description
 */
@Data
@Schema(title = "多条件查询美食入参", description = "多条件查询美食入参")
public class QueryFoodInfoByConditionReq extends PageRequest {

    /**
     * 主键id
     */
    @Schema(title = "主键id", description = "主键id")
    private Long id;
    /**
     * 饭店id
     */
    @Schema(title = "饭店id", description = "饭店id")
    private Long restaurantId;
    /**
     * 餐品名称
     */
    @Schema(title = "餐品名称", description = "餐品名称")
    private String name;
    /**
     * 餐品类型：小炒、火锅等
     * FoodTypeEnum
     */
    @Schema(title = "餐品类型", description = "小炒、火锅等")
    private Integer foodType;

    public boolean baseCheck() {
        return true;
    }
}
